package darknet.application.base.spec;

import darknet.application.Application;
import darknet.application.Application;
import java.io.IOException;

/**
 * The base application.
 * 
 * @author Yoyo
 */
public interface BaseApplication extends Application {

    /**
     * Send a ping message to a node.
     *
     * @param nodeName The node name.
     * @return The ping time, in millis.
     */
    Long ping(String nodeName) throws IOException;
}
